﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage2.master" AutoEventWireup="true"
    CodeFile="Check_BidGood.aspx.cs" Inherits="Agency_Check_BidGood" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Agency" runat="Server">
 <script language="vbscript" src="../Common/yz.vbs"></script>
   <script language="javascript">
        function SelectAll()
        {
            var i;
             var a = document.getElementsByName('chk');
             for( i = 0;i < a.length;i++)
            {
                a[i].checked = true; 
            }           
        }
        function ClearAll()
        {
             var i;
             var a = document.getElementsByName('chk');
             
             for( i = 0;i < a.length;i++)
            {
                a[i].checked = false; 
            }           
        }
        function CheckOthers()
        {
            var i;
            var a = document.getElementsByName('chk');
             
             for( i = 0;i < a.length;i++)
            {
            
                if(a[i].checked!=true)
                {
                    a[i].checked =true ; 
                }
                else
                {   
                    a[i].checked = false; 
                }
            }           
            
        }

    </script>
   <table width="98%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="4" style="height: 34px">
                <img src="../Images/intro_left.gif" width="4" height="34"></td>
            <td class="intro_wordbg" style="height: 34px">
                投标商品审核</td>
            <td background="../Images/intro_bg.gif" style="height: 34px">
                <img src="../images/intro_right.jpg" width="118" height="34"></td>
        </tr>
    </table>
    <table width="98%" border="1" align="center" id="tabData" cellpadding="0" cellspacing="0">
    <!--<tr>
   <td style="width: 62px" >选择项目：</td>
   <td colspan=3>
       <asp:DropDownList ID="listProject" runat="server" Width="641px">
       </asp:DropDownList></td>
   </tr>-->
       <tr>
            <td align="right" style="width: 496px" >
                品目号：</td>
            <td>
                <asp:TextBox runat="server" ID="ProductCode" Width="271px" InvertedComma="品目号"></asp:TextBox></td>
            <td align="right" style="width: 102px">
                通用名：</td>
            <td style="width: 322px">
                <asp:TextBox runat="server" ID="ProductName"  Width="271px"  InvertedComma="通用名"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="height: 24px; width: 496px;">
                规格：</td>
            <td style="height: 24px">
                <asp:TextBox runat="server" ID="Outlookc"  Width="271px" InvertedComma="规格"></asp:TextBox>
                
            </td>
            <td align="right" style="height: 24px; width: 102px;">
                药品流水号：</td>
            <td style="height: 24px; width: 322px;">                
                <asp:TextBox ID="txtGoodsId" runat="server" Width="271px" NumericOnly="药品流水号"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="width: 496px; height: 26px"> 
                投标人：</td>
            <td style="height: 26px">
                <asp:DropDownList ID="Company" runat="server" Width="271px">
                </asp:DropDownList></td>
            <td align="right" style="width: 102px; height: 26px;">
                投标人注册号：</td>
            <td style="height: 26px; width: 322px;">
                <asp:TextBox ID="txtCompanyUserCode" runat="server" Width="271px"  InvertedComma="投标人注册号"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="width: 496px"> 生产企业：</td>
            <td style="height: 24px">
                <asp:TextBox ID="txtSC" runat="server" Width="271px" InvertedComma="生产企业"></asp:TextBox></td>
            <td align="right" style="width: 102px">
                生产企业注册号：</td>
            <td style="width: 322px">
                <asp:TextBox ID="txtscqyzch" runat="server" Width="271px"></asp:TextBox></td>
        </tr>
        <tr  >
            <td align="right" style="width: 496px">
                投标审核人：</td>
            <td style="height: 24px">
                <asp:DropDownList ID="ddl_tbshr" runat="server" Width="271px">
                </asp:DropDownList></td>
            <td align="right" style="width: 102px">
                审核状态：</td>
            <td style="width: 322px">
                <asp:DropDownList ID="lstCheckStatus" runat="server" Width="271px">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right" style="width: 496px; height: 53px">
                说明书通用名：</td>
            <td style="height: 53px">
                <asp:TextBox ID="ProductNameSM" runat="server" Width="271px"></asp:TextBox></td>
            <td align="right" style="width: 102px; height: 53px">
                提交状态：</td>
            <td style="width: 322px; height: 53px">
                <asp:DropDownList ID="lstMemo3" runat="server" Width="271px">
                </asp:DropDownList></td>
        </tr>
                <tr>
            <td align="right" style="width: 496px; height: 40px;">
                剂型：</td>
            <td style="height: 40px">
                <asp:TextBox ID="Medicinemodel" runat="server" Width="271px"></asp:TextBox></td>
                <td align="right" style="height: 40px">
            </td>
            <td style="height: 40px">
                <asp:CheckBox ID="chk1" runat="server" Text="一品多投商品" />
                &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                <asp:Button ID="buttonCheck" runat="server" class="button_bg6" Text="全部不通过" Width="73px" Visible="False" OnClick="buttonCheck_Click" /></td>
        </tr>

              <tr>
            <td style="height: 21px; width: 496px;"> &nbsp;转换系数：</td>
            <td style="height: 21px"> 
                <asp:TextBox ID="Factor" runat="server" Width="271px"></asp:TextBox></td>
            <td style="height: 21px; width: 102px;">                &nbsp;<asp:Button ID="Button5" runat="server"   Text="" CssClass="button_Query" OnClick="Button5_Click"  OnClientClick="return CheckForm();" /></td>
            <td align="left" style="height: 21px; width: 322px;"> &nbsp;&nbsp;
                <asp:Button ID="Button1" class="button_bg6" runat="server" Text="导出到Excel" Width="73px" OnClick="Button1_Click" />
                &nbsp;
                <asp:Button ID="Button2" runat="server" class="button_bg6" Text="全部审核通过" Width="73px" Visible="False" OnClick="Button2_Click" /></td>
        </tr>


    </table>
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>&nbsp;
    <asp:GridView ID="GridView1" runat="server">
    </asp:GridView>
             
        <table>
        <tr>
            <td>  
                <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
            </td>
            <td>
            <input id="but1"  type="button" class="button_bg6" value="全选"  onclick="javascript:SelectAll();" /></td>
            
            <td>
                <input id="but2" type="button" class="button_bg6" value="清空"  onclick="javascript:ClearAll();"/></td>
            <td>
                <input id="but3" type="button"  class="button_bg6" value="反选"  onclick="javascript:CheckOthers();"/></td>
            <td>
            </td>
        </tr>
    </table>

</asp:Content>
